!macro customInstall
  WriteRegStr HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" "AppInit_DLLs" "$INSTDIR\ExampleDll64.dll"
  WriteRegDWORD HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" "LoadAppInit_DLLs" "1"
  WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Run" "xxxx" '"$INSTDIR\resources\windows\exe\xxxx.exe" /start'
  ExecWait "$INSTDIR\installed.bat"
!macroend
!macro customUninstall
   DeleteRegKey HKCR "*\shell\xxxx"
!macroend
